console.log(location.hostname)
export const config = [
  {
    name: 'galaxy', // app name registered
    entry:
      process.env.NODE_ENV === 'production'
        ? '/subApp/galaxy'
        : '//127.0.0.1:8054/',
    container: '#micro-container',
    activeRule: '/galaxy'
  },
  {
    name: 'risksystem', // app name registered
    entry:
      process.env.NODE_ENV === 'production'
        ? `//${location.hostname}:8091/risksystem/`
        : '//127.0.0.1:8502/risksystem/',
    container: '#micro-container',
    activeRule: '/risksystem',
    props: {
      xx: 'aaa'
    }
  },
  {
    name: 'report', // app name registered
    entry:
      process.env.NODE_ENV === 'production'
        ? `//${location.hostname}:8091/report/`
        : '//127.0.0.1:8503/report/',
    container: '#micro-container',
    activeRule: '/report',
    props: {
      xx: 'aaa'
    }
  }
]
